﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using mscook.core.enumType;
using mscook.Alipay;
namespace mscook.core.domain
{
    public class BonusOrder:Entity
    {
        public BonusOrder()
        {
            OrderStatus = BonusOrderStatus.未付款;
            OrederNumber = UtilDate.GetOrderNum();
        }

        private LoginUser _loginUser;

        public virtual LoginUser LoginUser
        {
            get { return _loginUser; }
            set { _loginUser = value; }
        }

        private  string _telPhone;

        public virtual string TelPhone
        {
            get { return _telPhone; }
            set { _telPhone = value; }
        }

        private string _orederNumber;

        public virtual string OrederNumber
        {
            get { return _orederNumber; }
            set { _orederNumber = value; }
        }

        private int _Bonus;

        public virtual int Bonus
        {
            get { return _Bonus; }
            set { _Bonus = value; }
        }

        private int _price;

        public virtual int Price
        {
            get { return _price; }
            set { _price = value; }
        }

        private BonusOrderStatus _orderStatus;

        public virtual BonusOrderStatus OrderStatus
        {
            get { return _orderStatus; }
            set { _orderStatus = value; }
        }

    }
}
